package javase.static_singleinstance;

class User {
    //2.创建对象交给静态变量接收
    public static User single = new User();
    //1.将构造器私有化
    private User(){}
}
